<include file="Public/header" />



<style>
  .layui-form-label{width:150px;}
</style>

<body>

  <form action="{:U('addNodeHandle')}" method="post">


    <div class="layui-row">
      <div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
        <div class="layui-form-item">
          <label class="layui-form-label">{$type}名称</label>
          <div class="layui-input-inline">
            <input type="text" name="name" lay-verify="required" placeholder="方法 [或] 控制器 名" autocomplete="off" class="layui-input">
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">{$type}描述</label>
          <div class="layui-input-inline">
            <input type="test" name="title" value="" lay-verify="required" placeholder="中文描述" autocomplete="off" class="layui-input">
          </div>
        </div>
        <!-- <div class="layui-form-item">
          <label class="layui-form-label">{$type}描述-EN</label>
          <div class="layui-input-inline">
            <input type="test" name="title" value="" lay-verify="required" placeholder="英文描述" autocomplete="off" class="layui-input">
          </div>
        </div> -->

        
        <div class="layui-form-item">
            <label class="layui-form-label">是否开启</label>
            <div class="layui-input-block">
                <input type="radio" name="status" value="1" title="开启" checked="">
                <div class="layui-unselect layui-form-radio"><i class="layui-anim layui-icon"></i><div>开启</div></div>
                <input type="radio" name="status" value="0" title="关闭">
                <div class="layui-unselect layui-form-radio layui-form-radioed"><i class="layui-anim layui-icon"></i><div>关闭</div></div>
            </div>
        </div>

        <div class="layui-form-item">
          <label class="layui-form-label">排序</label>
          <div class="layui-input-inline">
            <input type="test" name="sort" value="1" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
          </div>
        </div>

        <div class="layui-form-item">
          <input type="hidden" name="pid" value="{$pid}">
          <input type="hidden" name="level" value="{$level}">
          <div class="layui-input-block">
              <button class="layui-btn layuiadmin-btn-useradmin" data-type="batchdel">提交</button>
          </div>
        </div>
      </div>
    </div>


  </form>

    <include file="Public/bottom" />


</body>

  <script>
  layui.config({
    base: '__PUBLIC__/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form', 'upload'], function(){
    var $ = layui.$
    ,form = layui.form
    ,upload = layui.upload ;

    form.render();

    
  })
  </script>
</html>
